<html>
<body>
<script><!--
   alert('navigator=' + navigator.appName + ' ' + navigator.appVersion);
   alert('screen.width=' + screen.width);
   alert('screen.height=' + screen.height);
   alert('screen.availHeight=' + screen.availHeight);
   alert('user-agent=' + navigator.userAgent);
   alert('href=' + location.href);
   alert('protocol=' + document.location.protocol);
   
   function navigate1() {
   	   window.location = 'http://google.com';
   }

   function navigate2() {
   	   location.href = 'http://google.com';
   }

   function navigate3() {
   	   document.location.href = 'http://google.com';
   }


   function navigate4() {
   	   location.replace('http://google.com');
   }

   function navigate5() {
   	   document.location = 'http://google.com';
   }

   function navigate6() {
   	   location = 'http://google.com';
   }
   //-->
</script>
<a href="#" onclick="navigate1(); return false;">navigate1</a><br>
<a href="#"  onclick="navigate2(); return false;">navigate2</a><br>
<a href="#"  onclick="navigate3(); return false;">navigate3</a><br>
<a  href="#" onclick="navigate4(); return false;">navigate4</a><br>
<a  href="#" onclick="navigate5(); return false;">navigate5</a><br>
<a  href="#" onclick="navigate6(); return false;">navigate6</a><br>
</body>
</html>
